package com.skwyb.form.bean.req.admin;

import com.skwyb.form.bean.req.PageReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

@Data
@EqualsAndHashCode(callSuper = true)
public class GetMenuListReq extends PageReq {
    @ApiModelProperty("菜单名称")
    @Length(max = 128, message = "name too long")
    private String name;

    @ApiModelProperty("上级菜单")
    @Length(max = 36, message = "parentId too long")
    private String parentId;

    @ApiModelProperty("菜单类型，1菜单，2页面，3功能")
    @Length(max = 10, message = "type too long")
    private String type;
}
